crypto/x509.pkcs8.PrivateKey (field)
10 uses
crypto/x509 (current package)
pkcs8.go#L24: PrivateKey []byte
pkcs8.go#L51: key, err = ParsePKCS1PrivateKey(privKey.PrivateKey)
pkcs8.go#L63: key, err = parseECPrivateKey(namedCurveOID, privKey.PrivateKey)
pkcs8.go#L74: if _, err := asn1.Unmarshal(privKey.PrivateKey, &curvePrivateKey); err != nil {
pkcs8.go#L87: if _, err := asn1.Unmarshal(privKey.PrivateKey, &curvePrivateKey); err != nil {
pkcs8.go#L119: privKey.PrivateKey = MarshalPKCS1PrivateKey(k)
pkcs8.go#L136: if privKey.PrivateKey, err = marshalECPrivateKeyWithOID(k, nil); err != nil {
pkcs8.go#L148: privKey.PrivateKey = curvePrivateKey
pkcs8.go#L156: if privKey.PrivateKey, err = asn1.Marshal(k.Bytes()); err != nil {
pkcs8.go#L174: if privKey.PrivateKey, err = marshalECDHPrivateKey(k); err != nil {